import Vue from "vue";
import Vuex from "vuex";
import HelloWorld from "@/components/HelloWorld.vue";
Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    qkstore: {
      components: { HelloWorld },
      data: {
        msg: "我是qkstore",
        count: 0,
      },
    },
  },
  getters: {},
  mutations: {
    updateQkstore(value) {
      this.state.qkstore = value;
    },
  },
  actions: {},
  modules: {},
});
